package xyz.xtt.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serial;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-11-21
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_admin_user")
public class TblAdminUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 登陆名称
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 0正常 1禁用
     */
    private Integer status;

    /**
     * 真实名称
     */
    private String nickName;

    private LocalDateTime createDatetime;

    private LocalDateTime updateDatetime;


}
